Skip to content

Latest commit

 

History

History
75 lines (63 loc) · 1.82 KB

2012-05-17-[转]Ubuntu-12.04-安装ATI官方显卡驱动.md

File metadata and controls

75 lines (63 loc) · 1.82 KB
layout date title slug categories tags redirect_from
post
2012-05-17 21:57:59 +0800
[转]Ubuntu 12.04 安装ATI官方显卡驱动
1337263263
Linux
Linux,AMD,显卡
/post/12.html
  • content {:toc}

本文详细记录了在Ubuntu系统中安装ATI官方显卡驱动的方法。

重装或要卸载:

sudo sh /usr/share/ati/fglrx-uninstall.sh
sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*

安装闭源前准备的库:

sudo  apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 dh-modaliases linux-headers-generic

如果你安装的是64位的ubuntu,请安装32位库:

sudo apt-get install ia32-libs

64位 驱动内核模块:

sudo apt-get install dkms

下面是在http://ubuntuforums.org/showthread.php?t=1969827看的方法

sudo apt-get install build-essential cdbs dh-make dkms execstack dh-modaliases fakeroot
cd ~/; mkdir catalyst12.4; cd catalyst12.4/
wget http://www2.ati.com/drivers/linux/amd-driver-installer-12-4-x86.x86_64.run
chmod +x amd-driver-installer-12-4-x86.x86_64.run
./amd-driver-installer-12-4-x86.x86_64.run --extract driver
cd driver/common/lib/modules/fglrx/build_mod/
wget -O fglrx.patch http://ubuntuone.com/5gNgEmVfzs3ytD5QZ2YGCi
patch -p1 < fglrx.patch
cd ~/catalyst12.4/driver/
./ati-installer.sh 8.961 --buildpkg Ubuntu/precise
cd ../

安装生成的包:

sudo dpkg -i fglrx*.deb

生成配置文件:

sudo aticonfig --initial -f

防止配置未生效:

sudo aticonfig --input=/etc/X11/xorg.conf --tls=1

重启。

检查是否成功:

fglrxinf

原文:http://forum.ubuntu.org.cn/viewtopic.php?f=42&t=373058